home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / importers and exporters / inside mac icm code / icm.h < prev    next >
Encoding:
Text File  |  2000-09-28  |  1.7 KB  |  57 lines

  1. /*
  2.     File:        icm.h
  3.  
  4.     Contains:    
  5.  
  6.     Written by:     
  7.  
  8.     Copyright:    Copyright © 1992-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 8/16/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 12/4/94        khs                changed the format of the file to the new look and feel
  21.  
  22. */
  23.  
  24.  
  25. // HEADER FILES
  26. #include <QuickDraw.h>
  27. #include <Windows.h>
  28. #include <Memory.h>
  29. #include <Resources.h>
  30. #include <OSUtils.h>
  31. #include <Files.h>
  32. #include <StandardFile.h>
  33. #include <ImageCompression.h>
  34. #include <Fonts.h>
  35. #include <Menus.h>
  36. #include <Errors.h>
  37. #include <Packages.h>
  38. #include <TextUtils.h>
  39. #include <SegLoad.h>
  40.  
  41.  
  42. // FUNCTION PROTOTYPES
  43. void MakeMyResource(StandardFileReply fileReply,
  44.                     ImageDescriptionHandle description);
  45. void SequenceSave(void);
  46. void CheckError(OSErr error,
  47.                 Str255 displayString);
  48. void DrawFrame(const Rect* imageRect,
  49.                long frameNum);
  50. void CompressSequence(short* dfRef,
  51.                       ImageDescriptionHandle* description);
  52. void MakeMyResource(StandardFileReply fileReply,
  53.                     ImageDescriptionHandle description);
  54. void SequenceSave(void);
  55. void SequencePlay(void);
  56. PicHandle GetQTCompressedPict(CGrafPtr port);
  57.